//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package come.tool.JDialog;

import com.tool.role.RoleLingFa;
import org.come.Frame.LingbaoJframe;
import org.come.model.Lingbao;
import org.come.until.UserData;

public class SkillDiscatdJDialog implements TiShiChuLi {
	public SkillDiscatdJDialog() {
	}

	@Override
    public void tipBox(boolean tishi, Object object) {
		String skill = (String)object;
		if (tishi && UserData.uptael(800000)) {
			Lingbao lingbao = RoleLingFa.getRoleLingFa().getChoseBao();
			String sikils = lingbao.getSkills();
			lingbao.setSkills(UserData.Splice(sikils, skill, 0));
			lingbao.UpdateLing();
			LingbaoJframe.getLingbaoJframe().getLingbaoJpanel().getLingbaoCardJpanel().getAttributeJpanel().shuxingzhanshi(lingbao);
		}

	}
}
